﻿@model NerdDinnerMVC.NerdDinnerService.DinnerDTO
         
@if (Model.IsHostedBy(Context.User.Identity.Name))
{
    @Html.ActionLink("Edit Dinner", "Edit", new { id = Model.DinnerId }); 
    <em>|</em>
    @Html.ActionLink("Delete Dinner", "Delete", new { id = Model.DinnerId });
}
else
{
  
}
